package java69.work720;

public class Person2 {
    protected String name;
    protected String adress;
    protected String telphone;
    protected String email;

    public Person2() {
    }

    public Person2(String name, String adress, String telphone, String email) {
        this.name = name;
        this.adress = adress;
        this.telphone = telphone;
        this.email = email;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAdress() {
        return adress;
    }

    public void setAdress(String adress) {
        this.adress = adress;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
